package com.gwl.autoqq.pojo.enums;

public enum AppHttpCodeEnum {
    // 成功
    SUCCESS(200,"操作成功"),
    ERROR_SEND_MSG(801,"发送信息失败"),
    ERROR_TYPE(802,"类型错误"),
    ERROR_CROWD(805,"群发送信息失败"),
    ERROR_HOST(803,"主机错误"),
    ERROR_IO(804,"IO传输异常"),
    ERROR_CLOSE_FILE(806,"Socket关闭异常");

    int code;
    String msg;

    AppHttpCodeEnum(int code, String errorMessage){
        this.code = code;
        this.msg = errorMessage;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}